****************************************************************************************************
****************************************************************************************************
*Replication file for:
*The Importance of a Liberal Power's Attention to Democratic Elections Around the World
*Johannes Bubeck Ashrakat Elshehawy Nikolay Marinov Federico Nanni
****************************************************************************************************
****************************************************************************************************

clear

*change to your own working directory
cd "/Data"

*use cleaned data from step 1 
use neldaprep


*****
*Table 
*****

*****
*a
*****
xi: regress bias uspreselein15 year changed i.ccode, robust
xi: regress bias uspreselein3 year changed i.ccode, robust
xi: regress bias uspreselein6 year changed i.ccode, robust


*****
*b
*****

xi: regress bias uselein15 year changed i.ccode, robust
xi: regress bias uselein3 year changed i.ccode, robust
xi: regress bias uselein6 year changed i.ccode, robust


*****
*c
*****




xi: regress bias uspreselein15_1sided year changed i.ccode, robust
xi: regress bias uspreselein3_1sided year changed i.ccode, robust
xi: regress bias uspreselein6_1sided year changed i.ccode, robust



*****
*d
*****


xi: regress bias uselein15_1sided  year changed i.ccode, robust
xi: regress bias uselein3_1sided  year changed i.ccode, robust
xi: regress bias uselein6_1sided year changed i.ccode, robust

